using System;
using System.Collections.Generic;
using System.Text;


namespace Gestion.Domain.Entities
{
    [Serializable]
    public abstract class DomainEntity<T> : Base.BaseDomainEntity
    {
        private T _id = default(T);
        public virtual T Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public abstract String Label { get; }

        public override Object GetId()
        {
            return _id;
        }
    }
}